import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)
export default pinia

//将modules 下的所有store 的按需导出都导出
export * from './modules/category.js'
export * from './modules/user.js'
export * from './modules/cart.js'
